package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserHonorScoreDao;
import com.frogs.ucenter.entity.UserHonorScore;
import com.frogs.ucenter.service.UserHonorScoreService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userHonorScoreService")
public class UserHonorScoreServiceImpl extends BaseServiceImpl<UserHonorScore> implements UserHonorScoreService {
    @Autowired
    private UserHonorScoreDao userHonorScoreDao;

    public UserHonorScoreServiceImpl() {
        super();
    }

    public UserHonorScoreDao getUserHonorScoreDao() {
        return userHonorScoreDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserHonorScore> getBaseDao() {
        return userHonorScoreDao;
    }

    public void setUserHonorScoreDao(UserHonorScoreDao userHonorScoreDao) {
        this.userHonorScoreDao = userHonorScoreDao;
    }
}